<?php
// No direct access.
defined('_JEXEC') or die;
?>

<style type="text/css">
    .content-wrapper{
    <?php
    $pattern_background = $this->API->get('pattern_background', '');
    //var_dump($this->API->URLbase()); die();

    if(($pattern_background == '') || ($this->API->get('pattern_background', '') == 'css')) {
         $pattern_background = $this->API->URLtemplate() . '/images/logo.png';
    } else {
         $pattern_background = $this->API->URLbase() .'/' . $pattern_background;
    }

    $pattern_titmod_background = $this->API->get('pattern_titmod_background', '');
    //var_dump($this->API->URLbase()); die();

    if(($pattern_titmod_background == '') || ($this->API->get('pattern_titmod_background', '') == 'css')) {
        $pattern_titmod_background = $this->API->URLtemplate() . '/images/logo.png';
    } else {
          $pattern_titmod_background = $this->API->URLbase() .'/' . $pattern_titmod_background;
      }

    ?>
        background: url(<?php echo $pattern_background;?>) repeat;
    }

    .sidebar-container .block-title h1,
    .sidebar-container .block-title h3,
    .sidebar-container .block-title h4 {
        background: url(<?php echo $pattern_titmod_background;?>);
    }

    .block-title {
        background: url(templates/plazart_blank/images/title-background.png) repeat-x left center;
        font-family: "Patua One";
        text-align: center;
    }
    /*/templates/plazart_blank/images/title-background.png*/
    /*/images/title-background.png*/

    .block-title h1,
    .block-title h3,
    .block-title h4 {
        display: inline-block;
        background: url(<?php echo $pattern_background;?>);
        padding: 0 20px;
    }

    .header-wrapper {
        background: url(<?php echo $pattern_background;?>);
        border-bottom: 1px solid #e6e6e6;
    }

    .interlayer {
        height: 40px;
        background: url(<?php echo $pattern_background;?>) repeat;
    }
</style>
